package org.dolphin.action.ar;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.InterceptorRef;
import org.apache.struts2.convention.annotation.InterceptorRefs;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.ParentPackage;
import org.apache.struts2.convention.annotation.Result;
import com.opensymphony.xwork2.ActionSupport;

@ParentPackage(value = "custom-default")
@Namespace(value = "/ar/invoice")
@InterceptorRefs(value = {@InterceptorRef(value = "customStack")})
public class SalesInvoiceAction extends ActionSupport {
  private static final long serialVersionUID = 4621438289530010537L;

  @Action(value = "addSalesInvoice", results = @Result(name = "success", location = "addSalesInvoice.jsp"))
  public String addInvoice() {
    return SUCCESS;
  }
}
